package com.towncoder.entity;

import java.io.Serializable;

/**
 * 地址簿(AddressBook)实体类
 *
 * @author makejava
 * @since 2024-08-22 15:00:51
 */
public class AddressBook implements Serializable {
    private static final long serialVersionUID = -91493823589241315L;
/**
     * 主键
     */
    private Long id;
/**
     * 用户id
     */
    private Long userId;
/**
     * 收货人
     */
    private String consignee;
/**
     * 手机号
     */
    private String phone;
/**
     * 省级名称
     */
    private String province;
/**
     * 市级名称
     */
    private String city;
/**
     * 区级名称
     */
    private String district;
/**
     * 详细地址
     */
    private String detail;
/**
     * 默认 0 否 1是
     */
    private Integer isDefault;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

}

